//@flow

/**
 * 图片基类
 * 
 * 1，完全继承reactnative image
 * 2，纯粹添加默认图
 */

import React, { Component } from 'react';
import { 
    Image,
    ImageProps
 } from 'react-native';
type Props = ImageProps
export class Img extends Component<Props,{}> {
    render(){
        return (
            <Image 
                defaultSource={require('')}
                {...this.props}/>
        )
    }
}